<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@taglib prefix="s" uri="/struts-tags"%>
    <%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
 <link rel="stylesheet" type="text/css" href="resources/css/ext-all.css"/>
<link rel="stylesheet" type="text/css" href="resources/css/xtheme-gray.css" />
<link rel="stylesheet" type="text/css" href="css/icons.css" />
<link rel="stylesheet" type="text/css" href="css/fileIcon.css" />
<link rel="stylesheet" type="text/css" href="css/side.css" />

<script type="text/javascript" src="js/ext-base.js"></script>
<script type="text/javascript" src="js/ext-all.js"></script>
<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="js/main/FileGridPanel.js"></script>
<script type="text/javascript" src="js/main/uploadWindow.js"></script>
<script type="text/javascript" src="js/main/FolderTreeWindow.js"></script>

<script type="text/javascript" src="admin/js/main.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>翔云存储-后台管理中心</title>
<style>
	*{
		margin:0;
		padding:0;
	}
	#admin_head{
		height:50px;
		width:100%;
		color:white;
		background-color:#565758;
	}
	#admin_head a{
		text-decoration: none;
		color:white;
	}
	a{
	text-decoration: none;
	}
	#nav{
		float:left;
		margin-left:20px;
		width:400px;
	}
	#manager{
		float:right;	
		margin-right:20px;
	}
	#logo{
		background: url('images/cloud.png') no-repeat;
		background-position: -500px -0px;
		width:80px;
		height:50px;
		float:left;
	}
	#title{
		color:#fff;
		position: absolute;
	}
	ul{
		list-style:none;
		line-height:50px;
	}
	li{
		display:inline-block;
		height:50px;
	}
	#disks{
		margin:30px auto;
		width:800px;
	}
	#disks li{
		margin:10px;
		height:75px;
		width:160px;
		padding:25px 20px;
		display:black;
		background-color:#ccc;
		
	}
	#disks li:hover{
		background-color:#999;
	}
	.total{
		width:80px;
		float:left;
		background-color:#666;
	}
	.used{
		background-color:#987;
	}
</style>
</head>
<body>
<div id="admin_head">
	<ul id="nav">
		<li ><div id="logo"><a href="javascript:void()" title="翔云存储"></a></div></li>
		<li id="title">
			<span style="font-size:30px;">翔云存储</span>
			<span style="font-size: 20px;font-family: 华文新魏,华文行楷;font-style: italic;">管理员中心</span>
		</li>
	</ul>
	<ul id="manager">
		<li>
			<div>欢迎你，<a href="">${loginadmin.adminName }</a></div>
		</li>
		<li ><span>|</span></li>
		<li>
			<div><a href="manageuser">用户管理</a></div>
		</li>
		<li ><span>|</span></li>
		<li>
			<div><a href="javascript:void();">增加管理员</a></div>
		</li>
		<li ><span>|</span></li>
		<li>
			<span><a href="exitAdmin">退出</a></span>
		</li>
	</ul>
</div>
<div id="disks" style="width=800px;">
<s:iterator value="#session.disks">
<li>
	<a onClick="javascript:opendisk('<s:property value="diskName"/>')" style="display:black" >
	<span><s:property value="diskName"/>盘：</span>
	<div class="total"><span class="usedspace" style="width:30px;"></span></div>
	<br><br>
	<span style="font-size:14px;"><s:property value="diskFree"/>G可用，共计<s:property value="diskSpace"/>G</span>
	</a>
</li>
</s:iterator>
</div>

</body>
</html>